Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Improve microphone description, add more info for set_threshold(). #804

Merged

Conversation

microbit-carlos
Copy link
Collaborator

@microbit-carlos microbit-carlos commented Apr 5, 2024

The improvements are taken from micropython-microbit-stubs/lang/en/typeshed/stdlib/microbit/microphone.pyi, the additional set_threshold() from lancaster-university/codal-core#167.

@microbit-matt-hillsdon @microbit-grace ad7e00f shows a better diff for the stubs, but please feel free to review these changes if you'd like.

Preview URL: https://microbit-micropython--804.org.readthedocs.build/en/804/microphone.html

@microbit-carlos microbit-carlos marked this pull request as ready for review April 5, 2024 17:47
Copy link
Collaborator Author

@microbit-carlos microbit-carlos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to update the recording & playback docs, which also touch these files, so I'll merge this now and rebase the other doc branches accordingly.

@microbit-carlos microbit-carlos merged commit 7a4cfb5 into bbcmicrobit:v2-docs Apr 12, 2024
2 checks passed
@microbit-carlos microbit-carlos deleted the sound-level-threshold branch April 12, 2024 10:57
microbit-carlos added a commit that referenced this pull request May 7, 2024
…d()`. (#804)

* docs: Improve descriptions for microphone module.

* docs: Add more info to `microphone.set_threshold()`.
microbit-carlos added a commit that referenced this pull request Jul 18, 2024
…d()`. (#804)

* docs: Improve descriptions for microphone module.

* docs: Add more info to `microphone.set_threshold()`.
microbit-carlos added a commit that referenced this pull request Sep 16, 2024
…d()`. (#804)

* docs: Improve descriptions for microphone module.

* docs: Add more info to `microphone.set_threshold()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant